package com.example.demo.service;

import com.example.demo.entity.Category;
import java.util.Map;

public interface CategoryService {
    Category createCategory(String name, Integer status, Integer order);
    boolean updateCategory(Integer id, String name, Integer status, Integer order);
    boolean updateCategoryStatus(Integer id, Integer status);
    boolean deleteCategory(Integer id);
    Category getCategoryById(Integer id);
    Map<String, Object> getCategoryList(Integer page, Integer limit, String keyword, String orderBy);
}
